// To parse this JSON data, do
//
//     final citiesEntity = citiesEntityFromJson(jsonString);

import 'dart:convert';

CitiesEntity citiesEntityFromJson(String str) => CitiesEntity.fromJson(json.decode(str));

String citiesEntityToJson(CitiesEntity data) => json.encode(data.toJson());

class CitiesEntity {
  CitiesEntity({
    required this.code,
    required this.obj,
    required this.msg,
  });

  int code;
  List<String> obj;
  String msg;

  factory CitiesEntity.fromJson(Map<String, dynamic> json) => CitiesEntity(
    code: json["code"],
    obj: List<String>.from(json["obj"].map((x) => x)),
    msg: json["msg"],
  );

  Map<String, dynamic> toJson() => {
    "code": code,
    "obj": List<dynamic>.from(obj.map((x) => x)),
    "msg": msg,
  };
}
